package com.sabastian.springframework.context;

import java.util.EventListener;

/**
 * @author Ciel Phantomhive
 * @description
 * @date 2023/1/26 13:47
 */
public interface ApplicationListener<E extends ApplicationEvent> extends EventListener {

    /**
     * Handle an application event.
     * @param event the event to respond to
     */
    void onApplicationEvent(E event);
}
